# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=sslmap
pkgver=0.2.0
pkgrel=5
groups=('blackarch' 'blackarch-scanner' 'blackarch-crypto')
pkgdesc='A lightweight TLS/SSL cipher suite scanner.'
arch=('any')
url='http://thesprawl.org/projects/latest/'
license=('unknown')
depends=('python2')
source=("http://thesprawl.org/media/projects/$pkgname-$pkgver.py")
sha512sums=('2b67c6de165a3d3cc1992ede81a731915198a75b9cff96b59c439529ff91d79c54df351102a5dee7d147b695c1e493043fe8270b84a01feb70d43a1e54f4b19d')

prepare() {
  sed -i 's|/usr/bin/env python|/usr/bin/env python2|' "$pkgname-$pkgver.py"
}

package() {
  install -Dm 755 "$pkgname-$pkgver.py" "$pkgdir/usr/bin/$pkgname"
}

